diff options
Diffstat (limited to 'qtsixa [maintainership transfered]/-watch-')
-rwxr-xr-x | qtsixa [maintainership transfered]/-watch- | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/qtsixa [maintainership transfered]/-watch- b/qtsixa [maintainership transfered]/-watch- new file mode 100755 index 0000000..ac78544 --- /dev/null +++ b/qtsixa [maintainership transfered]/-watch- @@ -0,0 +1,20 @@ +#!/bin/sh + +[ -f 'index.html' ] && rm 'index.html' +wget http://sourceforge.net/projects/qtsixa/files/ >/dev/null 2>/dev/null +if [ $? = 0 ]; then + [ -f unfetchable ] && rm unfetchable + grep 'title="QtSixA' < index.html | md5sum > new-sum + touch sum + if [ "$(cat sum)" = "$(cat new-sum)" ]; then + rm new-sum + else + mv new-sum sum + echo 'qtsixa' + fi + rm index.html +elif [ ! -f unfetchable ]; then + touch unfetchable + echo 'qtsixa (unfetchable)' +fi + |